< previous page page_494 next page >

Page 494
9f8044bafea36a1f728739c0bb58ef4c.gif
5. What four factors should you take into account when assessing the state of your development efforts?
9f8044bafea36a1f728739c0bb58ef4c.gif
The number of interface and implementation classes
9f8044bafea36a1f728739c0bb58ef4c.gif
Of the interface classes, the number of classes that implement them
9f8044bafea36a1f728739c0bb58ef4c.gif
The number of public methods per class
9f8044bafea36a1f728739c0bb58ef4c.gif
Coupling between objects
Day 11
9f8044bafea36a1f728739c0bb58ef4c.gif
1. What are some benefits of scenario scripts?
9f8044bafea36a1f728739c0bb58ef4c.gif
Scenario scripts provide you with a guideline for the behavior and features of each form. This practice of scripting your forms also encourages reuse of forms by not only other team members but also other teams.
9f8044bafea36a1f728739c0bb58ef4c.gif
2. What design pattern is useful for implementing the undo operations for an Undo button?
9f8044bafea36a1f728739c0bb58ef4c.gif
The Memento design pattern.
9f8044bafea36a1f728739c0bb58ef4c.gif
3. What are some negative aspects of naming buttons OK and Cancel?
9f8044bafea36a1f728739c0bb58ef4c.gif
The word OK, which is not a verb, is sometimes ambiguous because it doesn't indicate a business process being complete. In general, command buttons should have names in verb form that indicate some action or event. At times, the name Cancel is ambiguous because it doesn't specifically indicate what is being canceled. Cancel buttons are more appropriate for small forms that have only a progress bar control indicating some process is underway that can be canceled. In most circumstances, however, what is typically called the Cancel button should instead be called Close.
9f8044bafea36a1f728739c0bb58ef4c.gif
4. What are the main requirements of an undo operation?
9f8044bafea36a1f728739c0bb58ef4c.gif
Cancellation of a transaction.
9f8044bafea36a1f728739c0bb58ef4c.gif
Repopulation of previous data into display controls such as text boxes, labels, combo and list boxes, and grids.
Day 12
9f8044bafea36a1f728739c0bb58ef4c.gif
1. Describe one way you can design the form to automatically tab to the next data entry field?
9f8044bafea36a1f728739c0bb58ef4c.gif
Set the tab stop values of each of the form objects. For grids and spreadsheets, be sure to enable the user to tab to the next logical column in the row. When necessary, design your GUI form to automatically tab to the next logical data entry item.

 
< previous page page_494 next page >

If you like this book, buy it!